package cn.zcib.tms.dao;

import cn.zcib.tms.model.Shop;

import cn.zcib.tms.model.Source;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopMapper {

    List<Shop> shop();
    void addShop(Shop shop);
    void deleteShop(Integer sh_id);
    void updateShop(Shop shop);
    List<Shop> shop(@Param("type")Integer type,@Param("key") String key);
    List<Shop> findShop(@Param("key") String key);
    Shop findShopById(String id);

}